package com.t.bricks.bussiness.service.vacation;

import com.t.bricks.bussiness.db.entity.vacation.Vacation;
import com.t.bricks.bussiness.service.common.BaseService;
import com.t.bricks.model.MsgEmity;

/**
 * 请假管理Vacation表基本业务操作类接口定义
 */
public interface VacationService<T> extends BaseService<T> {

	/**
	 * 新增
	 * @param vacation 请假管理 对象实体,注意:跨包访问时可能会是json字符串
	 * @return MsgEmity
	 */
	MsgEmity add(Object vacation);

	/**
	 * 修改状态
	 * @param vacation
	 * @return MsgEmity 返回执行情况
	 */
	MsgEmity changeState(Vacation vacation);

}
